home *** CD-ROM | disk | FTP | other *** search
- .TH MERGEPOLY
- 6 "IRIT Version 6.0"
- .SH NAME
- MERGEPOLY
-
-
-
- PolygonType MERGEPOLY( ListType PolyList )
-
- Merges a set of polygonal objects in PolyList list to a single polygonal
- object. All elements in ObjectList must be of PolygonType type. This
- function performs the same operation as the overloaded ^ operator
- would, but might be more convenient to use under some circumstances.
-
- Example:
-
- Vrtx1 = vector( -3, -2, -1 );
- Vrtx2 = vector( 3, -2, -1 );
- Vrtx3 = vector( 3, 2, -1 );
- Vrtx4 = vector( -3, 2, -1 );
- Poly1 = poly( list( Vrtx1, Vrtx2, Vrtx3, Vrtx4 ), false );
-
- Vrtx1 = vector( -3, 2, 1 );
- Vrtx2 = vector( 3, 2, 1 );
- Vrtx3 = vector( 3, -2, 1 );
- Vrtx4 = vector( -3, -2, 1 );
- Poly2 = poly( list( Vrtx1, Vrtx2, Vrtx3, Vrtx4 ), false );
-
- Vrtx1 = vector( -3, -2, 1 );
- Vrtx2 = vector( 3, -2, 1 );
- Vrtx3 = vector( 3, -2, -1 );
- Vrtx4 = vector( -3, -2, -1 );
- Poly3 = poly( list( Vrtx1, Vrtx2, Vrtx3, Vrtx4 ), false );
-
- PolyObj = MERGEPOLY( list( Poly1, Poly2, Poly3 ) );
-